package cn.kongwg.demo04;

import java.time.LocalDate;
import java.util.StringJoiner;

/**
 * @author kongwg
 * @create 2021-06-02 10:26
 */
public class Test01 {
    public static void main(String[] args) {
        LocalDate now = LocalDate.now();
        System.out.println("now = " + now);
        String s1 = new StringBuilder().append("ja").append("va").toString();
        String intern = s1.intern();
        System.out.println(intern==s1);
        StringJoiner stringJoiner = new StringJoiner("lll");
        System.out.println("stringJoiner = " + stringJoiner.toString());

    }
}
